package com.it.service.impl;

import com.it.mapper.WasteTypeMapper;
import com.it.pojo.WasteType;
import com.it.service.WasteService;
import com.it.service.WasteTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author: zgc
 * @version: 1.0
 * @description:
 * @date: 2023/12/25 18:09
 */
@Service
@Transactional
public class WasteTypeServiceImpl implements WasteTypeService {

    @Autowired
    private WasteTypeMapper wasteTypeMapper;

    @Override
    public WasteType findById(String typeId) {
        return wasteTypeMapper.selectByPrimaryKey(typeId);
    }
}
